/**
 * 
 */
package com.eppear.jpfm.framework.common;

import java.util.List;

/**
 * @ClassName DtPage 
 * @Description 
 *      DataTable 转用分页对象
 * @author JianFeng Zhang(张建锋)
 * @date 2017年4月13日 上午10:26:42 
 * 
 */
public class DtPage<T> {

	private Integer draw=null;
	private Integer recordsTotal=null;
	private Integer recordsFiltered=null;
	private List<T> data=null;
	
	private Integer start = ConfigConstants.PAGE_DATA_START ;
	private Integer length = ConfigConstants.PAGE_DATA_LENGTH;
	
	public Integer getDraw() {
		return draw;
	}
	public void setDraw(Integer draw) {
		this.draw = draw;
	}
	public Integer getRecordsTotal() {
		return recordsTotal;
	}
	public void setRecordsTotal(Integer recordsTotal) {
		this.recordsTotal = recordsTotal;
	}
	public Integer getRecordsFiltered() {
		return recordsFiltered;
	}
	public void setRecordsFiltered(Integer recordsFiltered) {
		this.recordsFiltered = recordsFiltered;
	}
	public List<T> getData() {
		return data;
	}
	public void setData(List<T> data) {
		this.data = data;
	}
	public Integer getStart() {
		return start;
	}
	public void setStart(Integer start) {
		this.start = start;
	}
	public Integer getLength() {
		return length;
	}
	public void setLength(Integer length) {
		this.length = length;
	}
}
